package com.qdu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qdu.entity.Role;


public interface RoleMapper {
	
	Role selectRoleById(int roleid);
	
	boolean addRole(@Param("role") Role role);
	
	boolean modifyRole(@Param("role") Role role);
	
	boolean deleteRoleById(int roleid);
	
	List<Role> selectAllRole();
}
